﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="TFSQDefineList.aspx.cs" Inherits="WXYW.TFSQDefineList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    特服申请 - 待定义
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
    <asp:GridView ID="TFSQGridView" runat="server" CssClass="tableList" Width="100%"
        AutoGenerateColumns="False" AllowPaging="True" PageSize="20"
        onpageindexchanging="TFSQGridView_PageIndexChanging" 
        onrowdatabound="TFSQGridView_RowDataBound">
        <Columns>
            <asp:TemplateField HeaderImageUrl="~/image/operateicon/button_Select.gif">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="IDLbl" runat="server"></asp:Label>
                </ItemTemplate>
                <HeaderStyle Width="20px" />
                <ItemStyle Width="20px" />
            </asp:TemplateField>
            <asp:BoundField HeaderText="申请单号" DataField="ApplicationCode" />
            <asp:TemplateField HeaderText="RMA#">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox3" runat="server" 
                        Text='<%# Bind("[ApplicationForm.ApplicationCode]") %>'></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" 
                        Text='<%# Bind("ApplicationForm.ApplicationCode") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="申请日期">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <%#Convert.ToDateTime(Eval("ApplicationDate")).ToString("yyyy-MM-dd")%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField HeaderText="状态" DataField="Status" />
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                    <img src="image/operateicon/docedit.gif" alt="" />
                    <asp:LinkButton ID="viewLinkButton" OnClick="viewLinkButton_click" CommandArgument='<%#Eval("ID") %>'
                        runat="server">修改</asp:LinkButton>
                </ItemTemplate>
                <HeaderStyle Width="70px" />
                <ItemStyle Width="70px" />
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
</asp:Content>
